/**
 * Copyright &copy; 2016-2017 <a href="http://git.oschina.net/whoamien/backend_management">Backend Management</a> All rights reserved.
 */
package com.xw.framework.vo;

import java.io.Serializable;
import java.util.List;

import com.xw.app.model.AcctUser;

/**
 * The Class UserSessionInfo.
 *
 * @author Xi Wei
 */
public class UserSessionInfo implements Serializable{

	/** The Constant USER_SESSION_INFO_KEY. */
	public static final String USER_SESSION_INFO_KEY = "UserSessionInfo";
	private Long systemId;
	private Long loginId;
	private String loginName;
	private String userName;
	private boolean isFirstLogin;
	private List<String> roleNames;
	private List<UserMenu> menuList;
	private AcctUser acctUser;
	
	
	
	
	/**
	 * Gets the acct user.
	 *
	 * @return the acct user
	 */
	public AcctUser getAcctUser() {
		return acctUser;
	}
	
	/**
	 * Sets the acct user.
	 *
	 * @param acctUser the new acct user
	 */
	public void setAcctUser(AcctUser acctUser) {
		this.acctUser = acctUser;
	}
	
	/**
	 * Gets the system id.
	 *
	 * @return the system id
	 */
	public Long getSystemId() {
		return systemId;
	}
	
	/**
	 * Sets the system id.
	 *
	 * @param systemId the new system id
	 */
	public void setSystemId(Long systemId) {
		this.systemId = systemId;
	}
	
	/**
	 * Gets the login id.
	 *
	 * @return the login id
	 */
	public Long getLoginId() {
		return loginId;
	}
	
	/**
	 * Sets the login id.
	 *
	 * @param loginId the new login id
	 */
	public void setLoginId(Long loginId) {
		this.loginId = loginId;
	}
	
	/**
	 * Gets the login name.
	 *
	 * @return the login name
	 */
	public String getLoginName() {
		return loginName;
	}
	
	/**
	 * Sets the login name.
	 *
	 * @param loginName the new login name
	 */
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	
	/**
	 * Gets the user name.
	 *
	 * @return the user name
	 */
	public String getUserName() {
		return userName;
	}
	
	/**
	 * Sets the user name.
	 *
	 * @param userName the new user name
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	/**
	 * Checks if is first login.
	 *
	 * @return true, if is first login
	 */
	public boolean isFirstLogin() {
		return isFirstLogin;
	}
	
	/**
	 * Sets the first login.
	 *
	 * @param isFirstLogin the new first login
	 */
	public void setFirstLogin(boolean isFirstLogin) {
		this.isFirstLogin = isFirstLogin;
	}
	
	/**
	 * Gets the role names.
	 *
	 * @return the role names
	 */
	public List<String> getRoleNames() {
		return roleNames;
	}
	
	/**
	 * Sets the role names.
	 *
	 * @param roleNames the new role names
	 */
	public void setRoleNames(List<String> roleNames) {
		this.roleNames = roleNames;
	}
	
	/**
	 * Gets the menu list.
	 *
	 * @return the menu list
	 */
	public List<UserMenu> getMenuList() {
		return menuList;
	}
	
	/**
	 * Sets the menu list.
	 *
	 * @param menuList the new menu list
	 */
	public void setMenuList(List<UserMenu> menuList) {
		this.menuList = menuList;
	}
	
	
	
	
}
